<?php

namespace Home\Model;

use Think\Model;

/**
 * Description of GameModel
 *
 * @author xtceetg
 */
class LibaoModel extends Model {

    protected $tableName = 'libao';
    
    public function getLibaoByid($game_id){
        $sql="select l.*,g.enname as genname from libao as l,game_list as g where g.id=l.game_id";
        return $this->query($sql);
    }

}
